package com.wisdytech.linkdcs.equipLifeCycle.check.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.wisdytech.linkdcs.equipLifeCycle.check.model.CheckDetailRecord;
import com.wisdytech.linkdcs.equipLifeCycle.check.vo.CheckRecordDetailVo;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dailibo
 * @since 2018-06-05
 */
public interface ICheckDetailRecordDao extends BaseMapper<CheckDetailRecord> {

	/***
	 * 根据设备检测表id查找检验项项目列表
	 * @param checkId 设备点检表id
	 * @return
	 */
	public List<CheckRecordDetailVo> selectDetailByCheckRecordId(String checkRecordId);
	
	/**
	 * 查询月度点检记录明细
	 * @return
	 */
	public List<CheckRecordDetailVo> selectMonthDetail(
			@Param("equipCode")String equipCode,
			@Param("checkItemCode")String checkItemCode,
			@Param("year")String year,
			@Param("month")String month,
			@Param("day")String day
			);
	
	
	
	
	
}
